module.exports = {
  configureWebpack: {
    resolve: {
      alias: {
        "styles": "@/assets/styles",
        "common": "@/components/common"
      }
    },
    devServer: {
      proxy: {
        '/api': {
          target: 'http://localhost:8080/',
          changeOrigin: true,
          ws: true,
          pathRewrite: {
            '^/api': '/mock'
          }
        }
      }
    }
  }
}